﻿using System;
using System.Collections.Generic;
using System.Text;
using IDAL;
using Model;

namespace BLL
{
    public class FinalCheck
    {
        private static readonly IFinalCheck dal = DALFactory.DataAccess.CreateFinalCheck();

        public IList<FinalCheckInfo> GetFinalCheckbyDT(DateTime startTime, DateTime stopTime)
        {
            return dal.GetFinalCheckbyDT(startTime, stopTime);
        }

        public IList<FinalCheckInfo> GetFinalCheckbySN(string productSN)
        {
            return dal.GetFinalCheckbySN(productSN);
        }
    }
}
